package com.ruoyi.webshop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库对象 repository_info
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public class RepositoryInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库主键 */
    private Long repositoryId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String repositoryName;

    /** 仓库代号 */
    @Excel(name = "仓库代号")
    private String repositoryCode;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String repositoryPhone;

    /** 仓库状态 */
    @Excel(name = "仓库状态")
    private Integer repositoryState;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String repositoryAddress;

    /** 启动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "启动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repositoryStartDate;

    public void setRepositoryId(Long repositoryId) 
    {
        this.repositoryId = repositoryId;
    }

    public Long getRepositoryId() 
    {
        return repositoryId;
    }
    public void setRepositoryName(String repositoryName) 
    {
        this.repositoryName = repositoryName;
    }

    public String getRepositoryName() 
    {
        return repositoryName;
    }
    public void setRepositoryCode(String repositoryCode) 
    {
        this.repositoryCode = repositoryCode;
    }

    public String getRepositoryCode() 
    {
        return repositoryCode;
    }
    public void setRepositoryPhone(String repositoryPhone) 
    {
        this.repositoryPhone = repositoryPhone;
    }

    public String getRepositoryPhone() 
    {
        return repositoryPhone;
    }
    public void setRepositoryState(Integer repositoryState) 
    {
        this.repositoryState = repositoryState;
    }

    public Integer getRepositoryState() 
    {
        return repositoryState;
    }
    public void setRepositoryAddress(String repositoryAddress) 
    {
        this.repositoryAddress = repositoryAddress;
    }

    public String getRepositoryAddress() 
    {
        return repositoryAddress;
    }
    public void setRepositoryStartDate(Date repositoryStartDate) 
    {
        this.repositoryStartDate = repositoryStartDate;
    }

    public Date getRepositoryStartDate() 
    {
        return repositoryStartDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("repositoryId", getRepositoryId())
            .append("repositoryName", getRepositoryName())
            .append("repositoryCode", getRepositoryCode())
            .append("repositoryPhone", getRepositoryPhone())
            .append("repositoryState", getRepositoryState())
            .append("repositoryAddress", getRepositoryAddress())
            .append("repositoryStartDate", getRepositoryStartDate())
            .toString();
    }
}
